package com.qf.dao;

import com.qf.pojo.Tenement;
import com.qf.pojo.TenementExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TenementMapper {
    int countByExample(TenementExample example);

    int deleteByExample(TenementExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Tenement record);

    int insertSelective(Tenement record);

    List<Tenement> selectByExample(TenementExample example);

    Tenement selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Tenement record, @Param("example") TenementExample example);

    int updateByExample(@Param("record") Tenement record, @Param("example") TenementExample example);

    int updateByPrimaryKeySelective(Tenement record);

    int updateByPrimaryKey(Tenement record);
}